This command displays response codes from the system Gestalt call. This call is used to test the version or availability of system resources. As an example, the command "gestalt sysv" will display the version of your system software.
The OSType selectors must be specified as four character strings, as in sysv or "os ". Quotes are required when the selectors contain spaces.
The return codes are displayed as hexadecimal values, unless a -d option is specified.